﻿using System;

namespace Aeon.Emulator.Instructions.FPU
{
    internal static class Fabs
    {
        [Opcode("D9E1", OperandSize = 16 | 32, AddressSize = 16 | 32)]
        public static void Abs(VirtualMachine vm)
        {
            vm.Processor.FPU.ST0 = Math.Abs(vm.Processor.FPU.ST0);
        }
    }
}
